Skip to content

Conversation

@AndyGaskell
Copy link
Contributor

Hi Christian

Just a minor tweak here, hope this is useful. At the moment the PHP4 style constructor gives a warning in PHP7.

The warning looks like...

PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgSystemfieldsattachment has a deprecated constructor in plugins/system/fieldsattachment/fieldsattachment.php on line 35

More info...
http://php.net/manual/en/migration70.deprecated.php#migration70.deprecated.php4-constructors
https://cweiske.de/tagebuch/php4-constructors-php7.htm

Hi Christian

Just a minor tweak here, hope this is useful.  At the moment the PHP4 style constructor gives a warning in PHP7.

The warning looks like...

PHP Deprecated:  Methods with the same name as their class will not be constructors in a future version of PHP; plgSystemfieldsattachment has a deprecated constructor in plugins/system/fieldsattachment/fieldsattachment.php on line 35

More info...
http://php.net/manual/en/migration70.deprecated.php#migration70.deprecated.php4-constructors
https://cweiske.de/tagebuch/php4-constructors-php7.htm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant